package com.ruoyi.service.impl;

import com.ruoyi.domain.UserHealthReminder;
import com.ruoyi.mapper.UserHealthReminderMapper;
import com.ruoyi.service.UserHealthReminderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserHealthReminderServiceImpl implements UserHealthReminderService {

    @Autowired
    private UserHealthReminderMapper userHealthReminderMapper;

    @Override
    public List<UserHealthReminder> getHealthRemindersByUserId(Long userId) {
        return userHealthReminderMapper.selectHealthRemindersByUserId(userId);
    }
}
